package com.inspinia.api.rpc;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

public class ApiApplication {

    private static final Logger LOGGER = LoggerFactory.getLogger(ApiApplication.class);

    public static void main(String[] args) throws IOException {

        LOGGER.info(">>>>> inspinia-api-rpc-service 正在启动 <<<<<");
        new ClassPathXmlApplicationContext("classpath:spring/*.xml");
        System.in.read();
        LOGGER.info(">>>>> inspinia-api-rpc-service 启动完成 <<<<<");
    }
}
